package csw;

public class J12Ch04Ex01Song {

	public static void main(String[] args) {
		Song LetItGo = new Song();
		LetItGo.title = "Let It Go";
		LetItGo.artist = "Idena menzel";
		LetItGo.album = "Frozen OST";
		LetItGo.composer[1] = "various Artist";
		LetItGo.composer[2] = "various Artist";
		LetItGo.year = "2013";
		LetItGo.track = "5";
		LetItGo.show();
	}//main

}//class

class Song {
	
	String title;
	String artist;
	String album;
	String composer[] = new String[3];
	String year;
	String track;
	
	public void show(){
		System.out.println(title);
		System.out.println(artist);
		System.out.println(album);
		if(composer != null){
			for(int i = 1; i< composer.length; ++i){
				System.out.println(composer[i]);
			}			
		}
		System.out.println(year);
		System.out.println(track);
	}//show
		
}//song